#ifndef QG_DLGRECTANGLE_H
#define QG_DLGRECTANGLE_H

#include <QDialog>
#include "rs_vector.h"
#include "ui_qg_dlgrectangle.h"

class QG_DlgRectangle : public QDialog, public Ui::qg_dlgrectangle
{
    Q_OBJECT

public:
    explicit QG_DlgRectangle(QWidget *parent = nullptr, bool modal = 0, Qt::WindowFlags fl = 0);
    ~QG_DlgRectangle();

public slots:
    virtual void setOffset(RS_Vector *offset);
    virtual void updateOffset();

protected slots:
    virtual void languageChange();

private:
    RS_Vector *offset;

    void init();
};

#endif // QG_DLGRECTANGLE_H
